from apps.extensions import db
class Options(db.Model):
    """
    Wiki动态配置项
    """
    __tablename__ = 'admin_options'
    id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='配置项ID')
    option_name = db.Column(db.String(64), comment='配置项键')
    option_value = db.Column(db.String(64), comment='配置项值')
    autoload = db.Column(db.String(64), default="yes", comment='自动载入')
